const forest={
    location:'Sweden',
    animals:3,
    animalsTypes:['Lions','Tigers','Bears']
};
console.log(forest.nickname);
const location='dfdfdf';
//es6 解构
const {location:lo,animals,animalsTypes,nickname='未命名'}=forest;
console.log(lo,nickname);
const [Lions,Tigers,Bears]=animalsTypes;
console.log(Lions,Tigers,Bears);